<template>
    <footer class="nav-bar-bottom">
        <div class="nav-bar">
            <div class="item"><router-link to="/">首页</router-link></div>
            <div class="item"><router-link to="/type">分类</router-link></div>
            <div class="item"><router-link to="/goods">商品列表</router-link></div>
            <div class="item"><router-link to="/personal">我的</router-link></div> 
        </div>
    </footer>
</template>

<style>
html{
    font-size: 10px;
}
.nav-bar-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    background-color: #fff;
    color: black;
}
.nav-bar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 5rem;
    background-color: #fff;
    font-size: 2rem;
}
.item{
    display: flex;
    flex-direction: column;
    color: greenyellow;
    
}
</style>
